home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASP Advantage 1993
/
The Association of Shareware Professionals Advantage CD-ROM 1993.iso
/
files
/
utilties
/
bmenu541
/
example3.bat
< prev
next >
Wrap
DOS Batch File
|
1990-09-17
|
997b
|
65 lines
echo off
REM
REM Example batch file for BMENU 5.0 using itself as the '@file' input
REM
echo Batch example, with this batch file as the @file and default colors...
echo.
echo usage: bmenu @example3.bat default
echo.
bmenu @example3.bat default
for %%1 in (0 1 2 3 4 5 6) do if errorlevel %%1 goto %%1
:6
echo You chose ZIP-to-LZH
goto done
:5
echo You chose PAK-to-LZH
goto done
:4
echo you chose ARC-to-LZH
goto done
:3
echo you chose PAK-to-ZIP
goto done
:2
echo you chose ARC-to-PAK
goto done
:1
echo You chose ARC-to-ZIP
goto done
:0
echo User hit ESC
goto done
;
; Default color menu
;
$default
;
10
30
Archive Tools
ARC-to-ZIP
ARC-to-PAK
PAK-to-ZIP
ARC-to-LZH
PAK-to-LZH
ZIP-to-LZH
;
; User defined color menu
;
$defined
;
10
30
-5
4
124
Archive Tools
ARC-to-ZIP
ARC-to-PAK
PAK-to-ZIP
ARC-to-LZH
PAK-to-LZH
ZIP-to-LZH
$end_menu
:done